package model;

import java.util.List;

public class PositionsTerme {
	private int idNoeud;
	private List<Integer> positions;

	public PositionsTerme (int idNoeud) {
		this.idNoeud=idNoeud;
	}

	public int getIdNoeud() {
		return idNoeud;
	}

	public void setIdNoeud(int idNoeud) {
		this.idNoeud = idNoeud;
	}

	public List<Integer> getPositions() {
		return positions;
	}

	public void addPosition(int pos) {
		this.positions.add(pos);
	}
	
}
